/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.text_text.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 测试用Entity
 * @author ZhaoHai
 * @version 2017-07-02
 */
public class TextText extends DataEntity<TextText> {
	
	private static final long serialVersionUID = 1L;
	private String textName;		// 测试的名字
	private String textConcent;		// 测试的内容
	
	public TextText() {
		super();
	}

	public TextText(String id){
		super(id);
	}

	@Length(min=0, max=64, message="测试的名字长度必须介于 0 和 64 之间")
	public String getTextName() {
		return textName;
	}

	public void setTextName(String textName) {
		this.textName = textName;
	}
	
	@Length(min=0, max=200, message="测试的内容长度必须介于 0 和 200 之间")
	public String getTextConcent() {
		return textConcent;
	}

	public void setTextConcent(String textConcent) {
		this.textConcent = textConcent;
	}
	
}